package com.picket.service;

import java.util.Collection;

import com.picket.domain.UserPool;

public interface IUserPoolService {
	UserPool create(UserPool userPool);
	Collection<UserPool> getAllUserPools(); 
	Collection<UserPool> getAllUserPoolsForEvent(long eventId); 
	UserPool getUserPool(long id);
	Collection<UserPool> getAllUserPoolInfoForPool(long poolId); //why do we need this
	public Collection<UserPool> findByEmail(String email);
	void updatePoints(long eventId);
	void updateStandings(long eventId);
	public UserPool findByPoolId(long poolId);
	public Collection<UserPool> findByEmailAndPoolId(String email,long poolId);
}
